import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import render from '@dfeidao/atom-web/render/render';
import p001 from './p001';
import nodejs from '@dfeidao/atom-web/msg/nodejs';

export default async function a005(fd: IFeidaoAiBrowserComponent) {
	//搜索
	const po = fd.data.node.querySelector<HTMLInputElement>('[data-id="risk_po_name"]').value;
	const res = await nodejs('risk-point/zj-000005/s001', {
		filter: {
			page_no: 1,
			risk_po_name: po
		}
	});
	render(fd, res, p001, 'p001', 'inner');
}